package com.lzh.pojo.repVo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * (TgOrderDetail)实体类
 *
 * @author makejava
 * @since 2022-03-28 17:31:28
 */
@Data
@Entity
@Table(name = "tg_order_detail")
public class TgOrderDetail implements Serializable {
    private static final long serialVersionUID = 563214806268631562L;
    /**
    * 详情id
    */
    @Id
    @Column(name = "order_detail_id")
    private String orderDetailId;
    /**
    * 订单号
    */
    @Column(name = "order_id")
    private String orderId;

    /**
     * 用户id
     */
    @Column(name = "passenger_id")
    private Integer passengerId;

    /**
     * 座位类型
     */
    @Column(name = "seat_type")
    private String seatType;

    /**
     * 座位编号
     */
    @Column(name = "seat_number")
    private String seatNumber;

    /**
     * 订单价格
     */
    @Column(name = "price")
    private Double price;
    /**
    * 创建时间
    */
    @Column(name = "create_time")
    private Date createTime;
    /**
    * 更新时间
    */
    @Column(name = "update_time")
    private Date updateTime;
    /**
    * 是否删除d
    */
    private Integer ifdelete;



}